#pragma once
#include "app/Activity.h"
#include "control/ZKListView.h"
#include "manager/ConfigManager.h"
#include "control/ZKTextView.h"
#include "control/ZKPointer.h"
#include "system/Thread.h"
#include "uart/ProtocolData.h"
#include <string>


#ifndef DEBUG
#define DEBUG LOGE("--%d-- --%s-- Debug!!!\n", __LINE__, __FILE__);
#endif

#define DEVELOPER_TEST
//extern SProtocolData s_data;

//档级
#define PIRULEN "pirulen"
//粗体
#define ANAGO "anago-bold"
#define KICKER "KickerTrial-BlackUpright"
#define PIRBOLD "PirulenRg-Bold"
/*
 * @brife 控件设置字体
 * @param ctrlPtr 控件指针
 * @param font 字体名称（默认粗体）
 * */
static inline void setCtrlFont(ZKTextView* ctrlPtr, const std::string& font = ANAGO)
{
//	LOGD("--%d-- --%s-- 控件:%d 设置字体：%s\n", __LINE__, __FILE__, ctrlPtr->getID(), font.c_str());
	ctrlPtr->setFontFamily(font.c_str());
}




